package com.zxw.hotel.dao;

import com.zxw.hotel.model.Admin;
import com.zxw.hotel.model.extend.AdminExtend;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;

import java.util.List;

@Mapper
public interface AdminDao {
    List<Admin> findAll(AdminExtend adminExtend);
    int deleteByIds(Integer[] ids);

    int update(Admin admin);
    int add(Admin admin);
}
